package com.wd.mvp.model;


import com.wd.base.thread.ThreadPoolUtils;
import com.wd.mvp.listener.OnDemoFinishedListener;

/**
 * NA<BR>
 *
 * @author w4425
 * @version [V2.0.0, 2021/3/17]
 * @since V2.0.0
 */
public class DemoModelImpl implements IDemoModel {

    @Override
    public void textDemo(String text, OnDemoFinishedListener listener) {
        // xxx
        ThreadPoolUtils.postToMainDelay(new Runnable() {
            @Override
            public void run() {
                listener.onSuccess("ok");
            }
        }, 2000);

    }
}
